import { Injectable } from '@nestjs/common';
import * as ExcelJS from 'exceljs';


@Injectable()
export class ExcelService {


 async   readExcel(file: any){
    const workbook = new ExcelJS.Workbook();
    await workbook.xlsx.load(file);
    return workbook;
    }


}
